package com.tianruan.psychological.moduls.sys.user.entry.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.tianruan.psychological.common.base.entity.dto.BaseDTO;
import com.tianruan.psychological.moduls.sys.user.entry.db.PermissionDO;
import com.tianruan.psychological.moduls.sys.user.entry.db.RoleDO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author liuxin
 * @date 2019/9/8
 */
@Data
public class UserDTO extends BaseDTO<UserDTO> {

    private String id;

    private String companyId;

    private String officeId;

    private String no;

    private String username;

    @JsonIgnore
    private String password;

    private String name;

    private String phone;

    private String email;

    private String sex;

    private String birthday;

    private List<String> roleIds;

    private String loginIp;

    private Date loginDate;

    private String loginFlag;

    private List<PermissionDO> permissionList;

    private List<RoleDO> RoleList;

}
